runtime.mstats.gc_cpu_fraction (field)
4 uses
runtime (current package)
mgc.go#L1121: memstats.gc_cpu_fraction = float64(work.cpuStats.GCTotalTime-work.cpuStats.GCIdleTime) / float64(work.cpuStats.TotalTime)
mgc.go#L1238: util := int(memstats.gc_cpu_fraction * 100)
mstats.go#L41: gc_cpu_fraction float64 // fraction of CPU time used by GC
mstats.go#L554: stats.GCCPUFraction = memstats.gc_cpu_fraction
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)